﻿<!DOCTYPE>
<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=EDGE;IE=11;IE=8,chrome=1" />
    <title>检测项Spc异常预警</title>
    <link href="/InSiteWebApplication/Content/Easyui/themes/metro/easyui.css" rel="stylesheet" />
    <link href="/InSiteWebApplication/Content/Easyui/custom-easyui.css" rel="stylesheet" />
    <link href="/InSiteWebApplication/Content/Easyui/themes/icon.css" rel="stylesheet" />
</head>
<body>
    <div id="mainDiv">
        <div class="panelSection">
            <div class="easyui-panel " title="查询区域" style="padding: 3px;width: 100%" data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
                <div style="margin: 3px 0px 3px 3px">
                    <div id="productContent">
                    </div>
                    <div id="workflowContent">
                    </div>
                    <div style="float: left; margin-left: 10px">
                        <div class="divLabel" style="margin-bottom: 5px">
                            工序号：</div>
                        <input id="txtSpecNo" class="easyui-textbox" style="width: 80px; height: 22px" />
                    </div>
                    <div style="float: left; margin-left: 10px">
                        <div class="divLabel" style="margin-bottom: 5px">
                            处理人：</div>
                        <input id="txtDealName" class="easyui-textbox" style="width: 80px; height: 22px" />
                    </div>
                    <div style="float: left; margin-left: 10px">
                        <div class="divLabel" style="margin-bottom: 5px">
                            审核人：</div>
                        <input id="txtAuditor" class="easyui-textbox" style="width: 80px; height: 22px" />
                    </div>
                    <div style="clear: both">
                    </div>
                </div>
                <div style="margin: 3px 0px 3px 3px">
                    <div style="float: left">
                        <div class="divLabel" style="margin-bottom: 5px">
                            异常时间：</div>
                        <input id="txtWarningTime" class="easyui-datebox" style="width: 140px; height: 22px" />
                    </div>
                    <div style="float: left; margin-left: 10px">
                        <div class="divLabel" style="margin-bottom: 5px">
                            处理时间：</div>
                        <input id="txtDealTimeByQuery" class="easyui-datebox" style="width: 140px; height: 22px" />
                    </div>
                    <div style="float: left; margin-left: 10px">
                        <div class="divLabel" style="margin-bottom: 5px">
                            审核时间：</div>
                        <input id="txtExamineTime" class="easyui-datebox" style="width: 140px; height: 22px" />
                    </div>
                    <div style="float: left; margin-left: 30px">
                        <button id="btnSearch" class="easyui-linkbutton" data-options="" style="margin-top: 16px;
                            width: 80px">
                            查询</button>
                        <button id="btnReset" class="easyui-linkbutton" data-options="" style="margin-top: 16px;
                            margin-left: 8px;width: 60px">
                            重置</button>
                    </div>
                    <div style="clear: both">
                    </div>
                </div>
            </div>
        </div>
        <div class="panelSection">
            <div class="easyui-panel " title="结果区域" style="padding: 3px;width: 100%" data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
                <div style="margin: 3px 0px 3px 3px">
                    <button id="btnDealWarning" class="easyui-linkbutton" type="button" style="width: 80px;
                        height: 26px;">
                        失控处理</button>
                    <button id="btnViewIdea" class="easyui-linkbutton" type="button" style="width: 120px;
                        height: 26px;">
                        查看处理意见</button>
                </div>
                <div style="margin: 3px 0px 3px 3px">
                    <table id="gdStepCheckPoint" class="easyui-datagrid" style="width: 100%; height: 350px"
                        data-options="rownumbers:true,singleSelect:true">
                    </table>
                    <div id="pp" style="float: right" class="easyui-pagination" data-options="   
                 layout:['first','prev','next','last','manual','info'],              
                    total: 0,
                    showPageList: false,
                    showPageInfo: false,
                    showRefresh: false,
                    afterPageText:'共&nbsp{pages}&nbsp页',
                    buttons:[{
                            iconCls:'',
                            text:'Go',
                            id:'pageGo'
                    }]  
                ">
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div id="dg" title="失控处理" style="width: 860px; height: 400px; display: none" data-options="iconCls:'icon-save',resizable:true">
        <div style="margin: 3px 0px 3px 3px">
            <div style="width: 300px; float: left">
                <div style="width: 100%; float: left">
                    <div class="divLabel" style="margin-bottom: 5px">
                        失控原因：</div>
                    <input type="text" class="easyui-textbox" id="txtWarnReason" data-options="multiline:true"
                        style="height: 100px; width: 300px" />
                </div>
                <div style="width: 100%; float: left; margin-top: 5px">
                    <div class="divLabel" style="margin-bottom: 5px">
                        处理措施：</div>
                    <input type="text" class="easyui-textbox" id="txtSolution" data-options="multiline:true"
                        style="height: 100px; width: 300px" />
                </div>
                <div style="clear: both">
                </div>
                <div style="width: 100%; margin-top: 5px">
                    <span style="font-size: 13px" id="processorName"></span>
                    <button class="easyui-linkbutton" type="button" style="width: 120px; height: 20px;
                        float: right" id="btnSaveHistory">
                        存入历史经验库</button>
                    <span style="font-size: 13px; float: left; margin-top: 5px">
                        <div class="divLabel" style="margin-bottom: 5px">
                            处理时间：</div>
                        <input type="text" class="easyui-datetimebox" id="txtDealTime" style="width: 160px;
                            height: 18px;" />
                    </span>
                </div>
            </div>
            <div style="width: 520px; float: left; margin-left: 3px;">
                <div class="divLabel" style="margin-bottom: 5px">
                    历史经验（双击插入）：</div>
                <table id="gdReason" class="easyui-datagrid" style="width: 100%; height: 245px" data-options="rownumbers:true,singleSelect:true">
                </table>
                <!--                <div style="width: 250px; float: left; margin-left: 3px">
                    <table id="gdReason" class="easyui-datagrid" style="width: 100%; height: 245px" data-options="rownumbers:true,singleSelect:true">
                    </table>
                </div>
                <div style="width: 250px; float: left; margin-left: 3px">
                    <table id="gdSolution" class="easyui-datagrid" style="width: 100%; height: 245px"
                        data-options="rownumbers:true,singleSelect:true">
                    </table>
                </div>-->
            </div>
        </div>
        <div style="clear: both">
        </div>
        <div id="bb" style="width: 100%; margin-top: 20px; margin-right: 22px; float: right">
            <a href="#" class="easyui-linkbutton" style="width: 80px; height: 26px; float: right"
                id="btnClose">关闭</a>
            <button class="easyui-linkbutton" type="button" style="width: 120px; height: 26px;
                margin-right: 10px; float: right" id="btnSave">
                保存</button>
        </div>
    </div>
    <div id="dg2" title="查看处理意见" style="width: 380px; height: 420px; display: none" data-options="iconCls:'icon-save',resizable:true">
        <div style="margin: 3px 0px 3px 3px">
            <div style="width: 100%; float: left">
                <div class="divLabel" style="margin-bottom: 5px">
                    失控原因：</div>
                <input type="text" class="easyui-textbox" id="txtOutControl" data-options="multiline:true,disabled:true"
                    style="height: 80px; width: 350px" />
            </div>
            <div style="width: 100%; float: left; margin-top: 5px">
                <div class="divLabel" style="margin-bottom: 5px">
                    处理措施：</div>
                <input type="text" class="easyui-textbox" id="txtDealMeasure" data-options="multiline:true,disabled:true"
                    style="height: 80px; width: 350px" />
            </div>
            <div style="clear: both">
            </div>
            <div style="width: 100%;">
                <span style="font-size: 12px; float: left; margin-top: 10px" id="dealName"></span>
                <span style="font-size: 12px; margin-left: 15px; margin-top: 10px; float: left" id="dealTime2">
                </span>
            </div>
            <div style="width: 100%; float: left; margin-top: 5px">
                <div class="divLabel" style="margin-bottom: 5px">
                    审核意见：</div>
                <input type="text" class="easyui-textbox" id="txtDealOpinion" data-options="multiline:true"
                    style="height: 80px; width: 350px" />
            </div>
        </div>
        <div style="clear: both">
        </div>
        <div id="btnDealdiv" style="width: 100%; margin-top: 20px; margin-right: 10px; float: right">
            <a href="#" class="easyui-linkbutton" style="width: 80px; height: 26px; float: right"
                id="btnReject">驳回</a>
            <button class="easyui-linkbutton" type="button" style="width: 80px; height: 26px;
                margin-right: 10px; float: right" id="btnPass">
                通过</button>
        </div>
    </div>
</body>
</html>
<script src="/InSiteWebApplication/Scripts/CustomPageJs/ReferenceJsLib.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Content/Easyui/jquery.min.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Content/Easyui/jquery.easyui.min.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Content/Easyui/easyui-lang-zh_CN.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Scripts/CustomPageJs/CustomCommon.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Scripts/CustomPageJs/ProductLinkageWorkflow.js"
    type="text/javascript"></script>
<script src="/InSiteWebApplication/Scripts/CustomPageJs/StepCheckPoint/StepCheckPointSpcWarning.js?V=new Date().getTime()"
    type="text/javascript"></script>
